/*! \file
 * \brief Enter a brief description here.
 *
 * Enter a detailed description here. (optional)
 * \author Author (Ivo Wingelaar)
 * \date Date (2011)
 * \version Version (0.0.1)
 * \copyright Copyright (GNU LGPL v3)
 */

#include "Lynx.hpp"
#include "LynxWindowManager.hpp"
#include "LynxWindowManagerLinux_C.hpp"

namespace Lynx
{

#if (!defined _LYNX_EXTENSION_)

////////////////////////////////////////////////////////////////////////////////
//! \brief Creates a new window with a lynx engine running inside it.
_LYNX_API_ WindowManager* _LYNX_CALL_CONV_ create_lynx_window(const WindowParameters& parameters)
{
#ifdef _LYNX_LINUX_
    return new WindowManagerLinux_C(parameters);
#endif // _LYNX_LINUX_
#ifdef _LYNX_WINDOWS_
#endif // _LYNX_WINDOWS_
}

////////////////////////////////////////////////////////////////////////////////
//! \brief Returns the version of the engine.
_LYNX_API_ uint32_t _LYNX_CALL_CONV_ get_sdk_version(void)
{
    return LYNX_SDK_VERSION;
}

#endif // _LYNX_EXTENSION_

} // namespace Lynx
